<h2>Detail Produk</h2>
<?php if ($products_model !== null): ?>
    <?php
    $products_image = $products_model->products_image;
    if ($products_image == '' || ($products_image != '' && !file_exists(Yii::app()->params['config']['updir']['products'] . $products_image))) {
        $products_image = '_default.png';
    }
    ?>
    <div class="product-detail clearfix">
        <div class="img-prod left">
            <?php echo CHtml::image(Yii::app()->params['config']['dir']['products'] . $products_image, (($products_image != null) ? $products_model->products_title : ''), array('width' => 217, 'height' => 288)); ?>
            <!--
            <ul class="img-list clearfix">
                <li><a href="#"><img src="img/img-pagger.png" alt=""/></a></li>
                <li><a href="#"><img src="img/img-pagger.png" alt=""/></a></li>
                <li><a href="#"><img src="img/img-pagger.png" alt=""/></a></li>
            </ul>
            -->
        </div>
        <div class="dtl-prod right">
            <h3 class="title-prod"><?php echo $products_model->products_title; ?></h3>
            <?php echo $products_model->products_description; ?>
            <div class="clear"></div>
        </div>
    </div>
<?php endif; ?>